SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 56865: Legend entries might be incorrect when you combine multiple bar charts with PROC SGPLOT

DetailsAboutRate It

The legend entries for one bar chart might be incorrect when you use multiple HBAR or VBAR statements with the SGPLOT procedure. The following warning message might also be issued:

WARNING: The data for a BARCHARTPARM statement are not appropriate. The BARCHARTPARM statement expects summarized data.
The bar chart might not be drawn correctly.

The problem occurs when each of the HBAR or VBAR statements references a different group variable with the GROUP= option.

The correct behavior should be to issue the following error message and not produce a chart:

ERROR: The same group variable must be used for summarized plots.


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.3 TS1M09.4 TS1M0
z/OS 64-bit9.3 TS1M09.4 TS1M0
Microsoft® Windows® for x649.3 TS1M09.4 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.3 TS1M0
Microsoft Windows Server 2003 for x649.3 TS1M0
Microsoft Windows Server 20089.3 TS1M0
Microsoft Windows Server 2008 R29.3 TS1M09.4 TS1M0
Microsoft Windows Server 2008 for x649.3 TS1M09.4 TS1M0
Microsoft Windows XP Professional9.3 TS1M0
Windows 7 Enterprise 32 bit9.3 TS1M0
Windows 7 Enterprise x649.3 TS1M09.4 TS1M0
Windows 7 Home Premium 32 bit9.3 TS1M0
Windows 7 Home Premium x649.3 TS1M0
Windows 7 Professional 32 bit9.3 TS1M0
Windows 7 Professional x649.3 TS1M09.4 TS1M0
Windows 7 Ultimate 32 bit9.3 TS1M0
Windows 7 Ultimate x649.3 TS1M0
Windows Vista9.3 TS1M0
Windows Vista for x649.3 TS1M0
64-bit Enabled AIX9.3 TS1M09.4 TS1M0
64-bit Enabled HP-UX9.3 TS1M09.4 TS1M0
64-bit Enabled Solaris9.3 TS1M09.4 TS1M0
HP-UX IPF9.3 TS1M09.4 TS1M0
Linux9.3 TS1M09.4 TS1M0
Linux for x649.3 TS1M09.4 TS1M0
Solaris for x649.3 TS1M09.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.